public int switchOddEven(int i){
  return ((i & 0xaaaaaaaa)>>1) | ((i & 0x55555555)<<1)
}